package com.crm.miaohe.entity.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class OrderEntity {
    private Long id;
    private String orderNo;
    private Integer goodsNumber;
    private Double amount;
    private Long customerId;
    private String erpOrderNo;
    private Integer status;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private LocalDateTime deliveryDate;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    private String customerName;
    private String bizName;
    private String customerTypeChildName;
    private String customerWuliuName;
    private List<OrderDetailEntity> orderDetailEntities;
    private String wuliuCode;
    private String wuliuName;
    private String fnote;//订单备注
    private Integer version;
    private String orderStatus;
}
